<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<style type="text/css">

</style>

<body>

<div class="container blog-content-container">
    <form th:action="@{/login}"  method="post">
        <h2 class="form-signin-heading">登录</h2>

        <!--<div class="form-group col-md-5">-->
            <!--<label for="username" class="col-form-label">账号</label>-->
            <!--<input type="text" class="form-control" id="username" name="username" maxlength="50" placeholder="请输入账号，至少3个字符，至多20个"/>-->

        <!--</div>-->

        <!--name="username"才能够实现spring security的登录验证-->
        <div class="form-group col-md-5">
            <label for="phone" class="col-form-label">手机号</label>
            <input type="text" class="form-control" id="phone" name="username" maxlength="30" placeholder="请输入手机号" />
        </div>
        <!--<div class="form-group col-md-5">-->
            <!--<label for="authcode" class="col-form-label">邮箱</label>-->
            <!--<input type="text" class="form-control" id="authcode" name="authcode" maxlength="50" placeholder="请输入验证码" />-->
        <!--</div>-->
        <!--<div class="form-group col-md-5">-->
            <!--<label for="name" class="col-form-label">姓名</label>-->
            <!--<input type="text" class="form-control" id="name" name="name" maxlength="20" placeholder="请输入姓名，至少2个字符，至多20个" >-->
        <!--</div>-->
        <div class="form-group col-md-5">
            <label for="password" class="col-form-label">密码</label>
            <input type="password" class="form-control" id="password" name="password" maxlength="30" placeholder="请输入密码，字母或特殊符号和数字结合" />
        </div>
        <input type="checkbox" name="remember-me"/>记住我
        <!--<div class="form-group col-md-5">-->
            <!--<label for="password" class="col-form-label">性别</label>-->
            <!--<input type="text" class="form-control" id="gender" name="gender" maxlength="30" placeholder="请输入性别" />-->
        <!--</div>-->
        <div class="form-group">
            <button type="submit" id="loginFormSumbit" class="btn btn-primary">登录</button>
        </div>
    </form>

</div>
<script src="js/login.js"></script>

</body>
</html>